package com.zja.service;

import java.util.List;
import com.zja.model.Comment;

/**
 * @author JA
 * @date: 2025/5/5
 * description:
 */
public interface CommentService {
    boolean addComment(Comment comment);

    List<Comment> getCommentsByArticleId(Long articleId);

    boolean deleteComment(Long commentId);

    boolean updateComment(Comment comment);

    Comment getCommentById(Long id);

    List<Comment> getCommentTreeByArticleId(Long articleId);
}
